<%-- 
    Document   : createtemp
    Created on : 9 janv. 2013, 15:48:55
    Author     : isen
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Create a Temperature Record</title>
    </head>
    <body>

    <h1>Create a Temperature record</h1>
    <form id="createTempForm" action="createtemperature" method="post">
    <table>
        <tr><td>ID:</td><td><input type="text" id = "id" name="id" /></td></tr>
        <tr><td>Name</td><td><input type="text" id = "name" name="name" /></td></tr>
        <tr><td>Location</td><td><input type="text" id = "location" name="location" /></td></tr>
        <tr><td>Api source</td><td><input type="text" id = "api" name="api" /></td></tr>
        <tr><td>Data value</td><td><input type="text" id = "value" name="value" /></td></tr>
        <tr><td>x</td><td><input type="text" id = "locx" name="locx" /></td></tr>
        <tr><td>y</td><td><input type="text" id = "locy" name="locy" /></td></tr>
         <tr><td>z</td><td><input type="text" id = "locz" name="locz" /></td></tr>
        <tr><td>Longitude GPS</td><td><input type="text" id = "long" name="long" /></td></tr>
        <tr><td>Latitude GPS</td><td><input type="text" id = "lat" name="lat" /></td></tr>
        <tr><td>Date de capture</td><td><input type="text" id = "date" name="date" /></td></tr>
    </table>
    <input type="submit" id="createtemperature" value="Créer la temperature" />
    </form>
<a href="dataarray"><strong>Go to List of Temperatures</strong></a>
</body>
</html>
